Fix release option in kv.set

Closes #2