fixed model inferrer
Merge pull request #1 from svenefftinge/master

fixed model inferrer