fixed html encode