fixed python bindings generation