delete unused vars