Fix output errors.