Fix a "% 0" problem; randomly delete files is completed with bugs