replace spaces with '%20'