fix error file issue