fixed error output, now to fix the tests!