fix issue with db options