more cidr error checking