Fixing string class