Working with the google api to fix a small bug