fix remove outgroup  bug