fixed line tracking issue