fix gBitSmarty assign in modules