fix deletion problems with linked list collisions