fixing string argument handling