Fix line intention bug