delete variable and edit comments