franky fixes a memory leak