Fixed the cell resizing issue