fixing visible cells count and zero size