Correcting output string.