Fixed issue with spaces in the URL