fixing behavior of nbind binding