Fix the send/receive problem by setting the data as a local variable
merge