added inexect sync, fixed bug where sync happend too soon