correct bug on rawModel generation
Merge pull request #1 from xavier-rodet/master

correct bug on rawModel generation