fix failure to parse sample type field