Trying to fix transmissoin beetween client and server