RMMV- Help with YEP Utility Common Events

Hello! I'm new to this forum but I think this is the right place?

I'm using Yanfly's Utility Common Events
I downloaded it from there
I need to run an event after a battle ends, and it works fine when I'm using the battle won condition, but for some reason it refuses to work as advertised if I flee from battle?

I made sure to have the plugins in the recommended order, and I even made a blank project to test only this (+ Core above it), and it still only worked when the battle was won... so I'm pretty sure it's an issue with the plugin itself

Is there a known fix? Am I doing something wrong?
Update the next day: I kept looking until pretty late at night, and turns out there's actually a typo in the plugin!

For anyone else having the same issue, you need to go into the code and replace

battleEscape: Number(Yanfly.Parameters['Battle Escape Event']) || 0,

by
battleEscape: Number(Yanfly.Parameters['Escape Battle Event']) || 0,

It should work now. (Since this isn't a free plugin anymore, that's all the context I can give for the typo, sorry.)

Original thread: https://forums.rpgmakerweb.com/threads/rmmv-help-with-yep-utility-common-events.120192/