fix batch