finish sync ws