fix autofac resolution