non-functional
#1 fix handling of samples with trailing fields missing