remove pages stuff