Minor fix in determine protocol