clean tmpdir