fix a space
allow using a BucketType to set credit bucket types