fix some line ending and snapshots