need to fix valgrind issues