Fix parameters for sender and receiver