Fix some issues with loading page configuration