lifted fix from master
Dec 27, 2013 Fix: model sub with DI was broken due to sharing of instance models a…