[MODIFIED] patching code socketio service and component