Blowing voltage regulators

It very possibly could have grounded on the case. I also have no clue what this third wire is supposed to connect to.

20200124_210312.jpg