fix issue with html entities