- fixed the check for missing resources