fixing trace line copy/paste issue