fix a bug on auto load of notes