fix bug in note