cleanup string nodes