try to print html correctly