stop adding S flag
switch flag api to string