Fix issues in NewBucketType reported by @MJDSys