Fixing memory issue with reusing cells.