adding valgrind patch