bugfix: if has child viewController, addChild branch never occured