fix how we pull db config