fixed page not reloading issue