enforce validation