fixed min max validation