fix for valgrind again