fixed a double delete bug