fix html interpretation