cleanup, fixed socket_peer