Adapt ws arrays