fix trace creation according to new qroc system
Merge pull request #628 from arnaudbey/traces

fix trace creation according to new qroc system