fixed spec bug for bindings.