fixed bug for google sync

offline support