Socket problem fixed