fix punicode and decodeURI