fixed bindings in c