one more fix for valgrind
one more fix for valgrind