Fixed up pull request to hide message after links are found