fix issues with new version of googleapis