Fixed IO.socket, put it in the wrong place