fix adding new cells.