socket io common script fix