fix tiny memleak