convert frontpage and sectionpage switches result