nil for invalid bucket