Fixed the bucketRegistry