added fact id in trace