add connectedline to safe case values