add additional sanity check