fix wrong delete file