remove unwanted variable