Fix python / c confusion issue