fix error connecting to google after reset, fixes #603