fix client request and Elastica_Document