fix bug for index submenu