fixed when only one cell is clicked