Looks likely you used the wrong wire. You must use four conductor wire. Red black white and an insulated ground. So you’re using the ground as the white wire and there’s no dedicated ground. The ground wire is an insulated and usually thinner than the other ones. Not safe at all. all powerlines...