fixup error handling of failed global object fetch