sync ws
had a bug
commit