replace mapDataStore definition.