fixed wrong params error on http_api export