fixes two big connect issue with Cables.java