fix html code especially related to deprecated code