fixed the amount of flushed data in server_transmit' seems working with no problem