fix: handle undefined rings in ssi (from master)