Fix tin/copper generation.