changes to websocketworker