fix bugs in memories and notes