fix cdef signature