fixed \text removal