handle reset data from map and list