fixing decoding of URL