fixed bug with accents in urls.