Fixed bucket placement bug