fixed bug in sync