disabling indexmenu