fix runtime err remove self or brother when onExit