fixed the swift output format