reinitialize the page