improve distributed sync