event template fix