fixing accidental string formatting character %f with %s