Fixed output to string.