Remove const from resetMap