fix event set_min_max_age method