use id or slug