fixed memory leak

for now...