The heating element is not the problem. Chances are the thermostat is not kicking off at the preset temperature. Also the relief valve is rated to discharge the excess heat at its rated temperature. Both areas need your attention. At nine years of age, this water heater is beginning to run out of its limited life. Serious thought should be given to the cost of parts versus the cost of a new water heater. GOOD LUCK!!!