ENG-6095 fix valgrind error of uninit