fix attributes for submenuitem