close some trace