fix delete tem dir