Fixed issue #1259 about distributed version and connection