fix condition fix