highlight the link only when it is valid