remove dead path logic