wrapper contained wrong reference for python-part