clean up trace descriptor a bit