fixed bug on mod2b