adapt note/:u/:line feature
fix off by 1 issue