corrects menu for the visual sublinks