Get rid of non-pages stuff