remove unnecessary includes in min/max