fixed httparty api