fix to must delete file in front of change file