fix for html entities