fix a bug of cell hide/show