fixed BadLocationException resulting from unnecessary line at end of a specification caused by the method updateLines