fixed the map implementation