cot: fix build error