giving invalid name error on receiver and invalid msg-header on sender