fixed reloading the page