fixed the cells all being visible problem.