Fixed printMap()