fix condition bug