fix goto page bug