adding bracket to the url to protect special characters