Bugfix:a mistake of trace