trying to fix leap memory leak