Fix bug where new lines are not recorded.