reduced memory leak but still happening