fix menu for 3-4 pages