fixing db options