fix map set node's idx memory error