add some sanity to the dumper.