corrected error output