Fix event definition table