remove history from spec before submitting batch