Z-Limit Switch Acting Very Weird!

Hello all,

I got my 750mm X-Carve together and started to run the calibrations but ran into a problem with the Z-limit switch when running the homing switch set up. When I initiate the sequence the Z-limit switch gets compressed and then I lose USB connection to my x-carve. I did some troubleshooting and found out that it is my GND on my Z-limit switch that makes me lose connection. If I unplug GND on my switch then connection comes back.

Any thoughts on why this is happening?

Thanks in advance