corrected problem showing submenu