Fixed error on open new note.