Fix mod-val regexp: method `getMods` didn't return all mods
Fix broken `setMod` method