fixed bug with mods