added condition parse when parsing CHECK keyword