client receives not entire string