fix for bad linked in url and and mail to link