fixing map.