making sure all variables are cleared