fixed socket io connection