model fix for caching
Merge pull request #492 from patriot1burke/master

model fix for caching