fixed removing notes after deserialization