Taj Mahal, anyone?
You always get 2 gold, no matter how many metal cubes you have. You've been playing correctly.
From the rules:
The Tool Maker awards 2 gold to an owner that has at least 1 metal at the end of the round.