check for crossreferences every time the menus are updated