fixed double delete