fix sample type possibility bug for spreadsheet user