remove the valgrind code