using htmlentities to decode