fix issue with SkipRestOfLine