Fixed crash with no newline at start of atlas.