fixed bug where notes are not saving