fixed the buf for time in discuss, and sort the disscuss