Fixed initialization of map.