fix escape to encodeURI