finally fix annoying double delete