show page before rendering