fixed delete pending files