fix trace generation for remove node