[resolve] fix double encoding.