cleanup for code that calls std::min