added validation for batch proxy