fixing db config issu