Fixed valgrind error when setting one lambda1 value