fixing binding to menu items