fix bucket error