added validation to the number fields in the pipeline options