fix to bug with error state on new supplier form