fixed a CoC's type