return back to previous state