fix bucket creation