fix html entities issue