fixing string problem