Fixed bug in Google sync