fix the submenu not sensitive