fix reloading page