replaces spaces in url