fixed another memleak