remove unwanted vars