fix a key not being flushed properly when saving the form