fix html in logging