Fixed bucket bug.