fixed errors and missing bindings