damn, hit a problem with nested bundles
fixes a bug with nested bundle encoding. v1.1.1