remove unusued variables