fix `SetPending` compile error...