correct path connectivity ii