fix up bindings