remove valgrind error related to #153