redundant events pinned up to the document were removed