failing closed path detection