fix missing query on socket params