snesibly handled connection line prevention