Fixed Bug when user changes Line