fixed result of http method