Fix mods not saving correctly