setting proper DB