sanity check for setting root of insert