 define [
     'cs!app/base',
     'i18next',
+    'cs!app/p13n',
     'leaflet-image',
     'leaflet-image-ie',
     'cs!app/draw'
 ],(
     sm
     i18n,
+    p13n,
     leafletImage,
     leafletImageIe,
     draw

                    getClusteredUnits = (markerCluster) ->
                        unitNames = []
                        for own mid, mm of markerCluster._markers
                            unitNames.push mm.unit.attributes.name.fi
                        for own mcid, mc of markerCluster._childClusters
                            unitNames = unitNames.concat getClusteredUnits(mc)
                        unitNames

                    else
                        div = document.createElement 'div'
                        div.className = 'printed-unit-name'
                        div.textContent = marker.unit.attributes.name[p13n.getLanguage()]
                        markerLegend.appendChild div
                    listOfUnits.appendChild(markerLegend)
            leafletImage map, (err, canvas) =>
