fix tmp cleaning missing