fix batch comparison driver