use const char since cython 0.18
remove some keyword arguments