Hamilton limits the damage with charge to third in Germany