fix httparty interface