remove residual garbage created by output redir