plugged another memory leak