fix minor issues on pages
adding menu generation