remove duplicate cdef