Fix a bug extracting value of a cell