#201 fixed bug in syncDirect