repositories were attached by ninject