Fix mean_max_min