Mend the output string format