fix bug related to bucket processing & time