fix error translation