removed an unnecessary copy of objects when loading data from source files in memory mode