fix bug in reloading initial keyvalue fields