refactoring of caching loving of the batch command
ERROR: in the ValueSetting class the size is not passed