correct wrong recognition of model key word in the middle of a line