Changing path and fixing string