fix httpclient bug & some adjust