fixed the issue of the hyperlink with special characters such as spaces