minor cleanup in bindings