added unescaping of html entities