bugfix changed how I call sockets in control.js