Sending Recieving code fixes
Sending Code Fix

Global Variable changes