fixed bug in protime sync