get rid of tmp dir