Fixed resource service to handle new resource id