buggy ws client workaround