Fixing bug in traces submission