you need to call `finalize` after `set()`.