some clean up in _erfamodule.c