refresh not refreshing the page