fixed childcounter