bug fix for leftover double quotes in trace templates