Minor improvements in dbManager