fix file load problem