set KeyValue is private