htmlentities fix