remove unneeded cdef