updates for better text stripping