better error handling
properly unescape html entities