Add validate for batch