changed URL to encode