fix bug in push_data, when the last buff smaller than chunksize