remove strange characters that appeared in links