fix socket.io queries

Change-Id: Ia134fbc216b1a05cd0722ae70aafc661d1eba0ea