fix python bindings