fixing string issues