fix linked db config again