strip out a bunch of XXX logging