fix Cython warning