remove extraneous diagnostic info