fix typo & make sure getChildren is consistent with addChild