Fixing output string.