depth first search ordering
remove farm2 path