fixed remote db config