force std min and max