page load fix