remove event registration