IO output cleanup