fix trial type identification
for filtering cutoff definition