fixed autofac related issue;