fix getChildIDs  for Ditto