fix error at copy files