fix bug when delete cell in table view