fix to refresh the page