Distributed: fixed problem on remote db deployment