Fix KeyValueStore configuration