fix bucket size issue