clean up to ddt and redir