clean up tmp dir