Reset pages#index as root and fix some things