better error for missing Resource...