handle correct URL-encoding