fix file missing bug