check ids returned from resources are not null