fix issue with editing notes