memory leak  fix