fix trace debug