fix #67 : references valgrind error