Fixed \n issue on pull request #347