check if first page load