My arduino gets hot when us a 12 volt adapter

If your "12v" supply is unregulated, it could be kicking out nearer 15 V, you can adjust the number of diodes to get around 8V at the arduino.