fix connection in cube