fixing %S to %s