fixed another memory leak