validate for empty resources