hashtable bug fix