Fix an error message on cot command (#282)