Fix issue remaining tmp files