hashtable improvements