fix import for MinMax