Fixed printMap