fix regression of badges in menu