fix error when not included link(URL) in the string