fixed block_size and aggregate_size bug