init remote db fix