bugfix for urlfetch