delete legacy and old hashtable