fix trace for spider demo