don't use static var here, put this array inside FcitxInstance. And you can initialized it in FcitxInstanceCreate