MOG's Custom Battle HUD not working?

It doesn't seem to work when i don't have a party of 4 people for some reason. it keeps popping up with" cannot read property '0' of undefined.
More information is needed to help identify the issue:

1.) A screenshot of the full error message in the console (press F8 to open the console when the error occurs)

2.) Describe what happened to make the error occur (all the steps needed to recreate the issue)

3.) A screenshot of your plugin manager to look for plugins in the wrong order or incompatibilities

Edit:
4.) A link to the plugin you're talking about so people don't have to go looking

Original thread: https://forums.rpgmakerweb.com/threads/mogs-custom-battle-hud-not-working.94688/