fixing string formatting