set html correctly