Fix setting to a map.