try fixing the error reporting again :(