fixing a hole where the memory leaked out
redundant
goodbye memory leaks
merging memory fixes