cleaning with tmp dir