problem with detected line