Skills from other Classes are showing in my skill list.. Help!

I downloaded the

Class Change Core (YEP) by Yanfly​

You can check the plug-in here

and it seems whenever I make one of my characters switch to a new class, it still keeps the skills from the previous class you changed from. Even when you level up, you learn the skills of both the class you're on and skills of other classes..
I'm not entirely sure how to fix that or if there's some input I need to put to make it disappear whenever I change classes.

On the picture, you can see its two different type of skills (Because of the icon)

Any help would be appreciated!
I'm not entirely sure how to fix that or if there's some input I need to put to make it disappear whenever I change classes.
usually youd keep separate separate skill types and separate skills for each of those types with overlaps. i already clear my actor's skill lists as they change class for unrelated reasons so ill just give you the portion you need


Code:
Game_Actor.prototype.updateUnlockedClassSkills = function() {
    if ($gameTemp._noUpdateUnlockedSkills) return;
    if ($gameParty.inBattle()) return;
    this._skills = []
    if (this._classId) this.updateLearnedSkills(this._classId);
};
save that as a .js file and load it after the class change core plugin

Original thread: https://forums.rpgmakerweb.com/threads/skills-from-other-classes-are-showing-in-my-skill-list-help.175411/