heapfile delete bug, always delete last one