fixing bindings