[Changed] removing \n by replacing it with space