fix urllib2 problem