fixed minmax