client is sending twice, but sending