delete pages when content is empty