fixed python bindings via reflection