add maxBundleCount and bundle event
0.2.1