fixed notes saving and loading