fixing string errors