add and fix menuitems