fix template event names