set key as well

not sure if this fixes dupe keys