fixed memory leaks from removes