fixed bug: datamodel reset when fetching new data