fixed delete file error