fix cleanup tmp