fix fname a string