fixing spaces in url