add delete event, and correct some typo