fix minor bug in kv_vector::decompose