pinpointed bug and fixed

slice elements of slices are mutable as "theslice[key]" but not as
"value".