remove redundant TreatAsErrorFromVersion