Tweak to line detection