fixed error for html5 entities