add child_mode.diff,credit nx111