remove pages from main