Validate grammar error