Fix strange issue for menus manager plugin