fix page load