rename traces to match the names given in the source code