Fix deleted file problem