fix Possible null pointer dereference: new_bucket