bug switching page and reset param fixed