try to fix a crash related to deleted files