Fix wrong model recognition

Parser was recognizing words with `model` keyword combination, for example `` `model` `` or `Cmodel`, as model, this is a suggestion to fix the issue. this pull request would close issue #92 and #152.
Have you checked what is up with this? E.g. why trim string does not work?