reorganize pages for better paths