fixed templates of events based on changes made in sortable.py