fix dll path enviroment / add database session