fixing remembering of saved values