fix loading of html message