made changes in events.tpl