minor changes to cython