naive clean up / stdout redirect