delete unwanted variables