fixed a %s bug