Prevent lines mismatch. Added missing lines definition

Sometimes the stream is changed and we can’t get the right line. This
just prevents the error