added fix for note-index