menu_item compilation fix