fixed bug in curric sync