added missign cleanup call, causing a small memory leak