ignore event filter when events only has one
update html_template, add current trace counter