adapted patternmodeller to be able to read indexed models as unindexed