fixed bug in synchronization service