Fix record, and adding new lines