fix error output position