revised sanity checks to remove deprecated syntax