fix Database session instance creation parameters