cleaning up pages that were being unintentionally added to the sidebar