santize stdout