simplified remembering previous query form