making sure page changes gets loaded