Fix page load issue