fix the unfound file crash bug