delete unused variables