Fixing socketIO bug - Running fine