fixed socket connection