remove reference to dead path