lots of changes
quick fix for raw send_recv