fix regPageActive