working on global error handler and error reporter