fixes the class bindings