minor fix to output string