bug fix trace