backup before memory leak fix