clean up send- receive-format