Fixed line jumping issue