Fix the valgrind issues