link is made blue and incorrectNames legend not shown when all names are valid