modify HttpGsonFactoryBase class to fix bug