fix putBucket