improve sync