child_stat api logic change