fix socket out