fix bug to close issue #92 and #152
correct wrong recognition of model key word in the middle of a line
Merge pull request #156 from alikh31/alikh31/issue#92#1522

Fix wrong model recognition