cleaned up a tiny memory leak