cleanup another memleak fix