fixed the "sample" column in chains