menus editor fixed infinite recursion on edit_item()