fixing problem with commiting cells