db manager fix