set min/max values as numeric