fix API_ROOT order