fix nhibernate