added validation on producer specialty length