fix for URI.encode message