corrected bug where ground continuity was broken