memory leak during hashtable collisions fixed