fix skip rm file bug