fixed line jumping issue