removed tref to min.map