added a null to the end of message sent