Properly set the final state id
Lowercase the global events name