fix hashtable