fixing the memory leak