Oil Pressure Sending Unit Question

I just used a shorty 9/16ths open end. Just had to remove the coil to make room for my hands. took a 6" long 3/8ths bolt and put gorilla glue with double nuts on the threaded end. Put the bolt head in the box end of the shorty wrench and held it in with gorilla glue. A ratchet and the shorty extension made quick work of it.