cleaning up error reports