Fix valgrind error on ensemble.bb (1)