rename key when event is finished.