remove reference to deleted files