resolve the page loading