add some macro for MixPack