Fixed for socketio connection
prelim