Bettles I know are the wrong way around, But you have things the wrong way around, It is not the internal heater causing the engine to overheat, it is the engine causing the heater to get to hot, check water level, check water valve.
SD
December 2011