i-bem: support `null` ctx