resolving url decoding issues