fix notes-edit script