fix multi child exit