fixing a hole where the memory leaked out
redundant