fix terms text splitting