fixed malformed text