Output type correction