fixed google function issues