edited sendmessage back to original