remove dirty and rename events.