Fix event template