Fixed variable name in bucket instantiation