shouldn't have removed the replace space with %20