mods to avoid valgrind output/check-err in checks