Fixed problem with spaces in URL