fix page reload