replace '\n' with "" manually