rm commneted code related to events tables