removed memory leak change