fixed min and max