cleaning up hashtable.