fix error file