fix error file paths