fix error load files