Fix API Disunion

Rubbish code
socket.io interaction