remove line break, remove time and date stamp, fix return of rows