Minor fixes in sync ws