fix note model