fixed sync def