making sure pages are reloaded