fixing unencoded uri