added validation for static referenced resources