Yoiu need to use a 'Star' wiring for grounds to avoid a loop.
This means picking one central point for a the grounds to meet, so that there is nowhere other than this with more than 1 ground connection. Usually the back of the volume is picked for this, but if you are a bad solderer, then it is safer to solder a wire to each pot, the ground on the jack, and, depending on the guitar, the sping claw or fix a ground to the tailpiece. Then take all these and solder them together, and tape up the connection.