fixing minor issues in newlines