lib\difference.js mark err in ret