fixes #29 issue (3rd page of text file not updating line numbers)