replacing deprecated URLDecoder methods