why do you have the ``list`` argument here. The list that you already send is globaly declared as dataList. So please remove the ``list`` argument and change ``list`` to ``dataList`` in your socket emit.