fix the menu highlight to the generated content