a fix of hashtable