fixed hashtable bug in rehash
fixed hashtable bug in rehash