remove reference to deleted file