mxcompare snippet correction