fix menu for pages in a subdirectory