fixed reset page bug