bug fix: now readModel works as expected.