socket io initialize fix